package com.itheima.stock.service;

import com.itheima.stock.dto.LoginDTO;
import com.itheima.stock.vo.CaptchaVO;
import com.itheima.stock.vo.LoginVO;

public interface UserService {
    /**
     * 生成验证码
     * @return CaptchaVO
     */
    CaptchaVO captcha();

    /**
     * 登录
     * @param loginDTO 登录参数
     * @return LoginVO
     */
    LoginVO login(LoginDTO loginDTO);
}
